<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #box{
            margin: 10px;
            padding: 10px;
            width: 300px;
            height: 300px;
            border: 2px solid green;
        }
        a{
            width: 100px;
            height: 100px;
            text-decoration: none;/* 去下划线 */
            background: #cd9595;
            line-height: 100px; /*高度相同，相当于水平居中*/
            text-align: center; /*垂直居中*/
            color: white;
            display: block;
        }
        .a2{
            position: relative;
            bottom: 100px;
            left: 200px;
        }
        .a3{
            position: relative;
            bottom: 100px;
            left: 100px;
        }
        .a4{
            position: relative;
            bottom: 100px;
        }
        .a5{
            position: relative;
            bottom: 200px;
            left: 200px;
        }
    </style>
</head>
<body>
<div id="box">
  <a class="a1" href="">连接1</a>
  <a class="a2" href="">连接2</a>
  <a class="a3" href="">连接3</a>
  <a class="a4" href="">连接4</a>
  <a class="a5" href="">连接5</a>
</div>
</body>
</html>